package com.heatingcharge.entity.customer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 客户资料 
 * </p>
 *
 * @author devin.jiang
 * @since 2019-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Customer implements Serializable {

private static final long serialVersionUID=1L;

    /**
     * 自动增加
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 客户姓名
     */
    private String name;

    /**
     * 电话
     */
    private String phone;

    /**
     * 其他电话
     */
    private String otherPhone;

    /**
     * 身份证号码
     */
    private String idNum;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;
}
